import http from "@utils/request.js";
import api from "./index.js"

export const cityApi =()=>{
    return http({
        method:"get",
        url:api.cityList.city
    })
}

export const shopApi =()=>{
    return http({
        method:"get",
        url:api.shop.shop
    })
}

export const detailApi =(activityId,wap)=>{
    return http({
        method:"post",
        data:{
            activityId,
            st_flpv: "157984641955188nbvG5vH4Z17ssrHM1H",
            sign: "0e6e5558137c844ac5088a3ea81e5c47",
            terminal: "wap"

        },
        url:api.detail.detail
    })
}